
namespace JTZY.Model.Pay
{
    /// <summary>
    /// 微信支付配置
    /// </summary>
    [SugarTable("corecmswechatpayconfig")]
    public class Corecmswechatpayconfig
    {
        /// <summary>
        /// 序列 
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }

        /// <summary>
        /// 应用号 
        /// </summary>
        public string AppId { get; set; }

        /// <summary>
        /// 商户号 
        /// </summary>
        public string MchId { get; set; }

        /// <summary>
        /// API秘钥 
        /// </summary>
        public string ApiKey { get; set; }

        /// <summary>
        /// APIv3密钥 
        /// </summary>
        public string ApiV3Key { get; set; }

        /// <summary>
        /// p12证书base64 
        /// </summary>
        public string Certificate { get; set; }

        /// <summary>
        /// RSA公钥 
        /// </summary>
        public string RsaPublicKey { get; set; }

        /// <summary>
        /// 子商户应用号 
        /// </summary>
        public string SubAppId { get; set; }

        /// <summary>
        /// 子商户号 
        /// </summary>
        public string SubMchId { get; set; }

        /// <summary>
        /// 支付回调通知 
        /// </summary>
        public string NotifyUrl { get; set; }

        /// <summary>
        /// 退款回调 
        /// </summary>
        public string RefundUrl { get; set; }

        /// <summary>
        /// 跳转地址 
        /// </summary>
        public string JumpUrl { get; set; }

        /// <summary>
        /// 是否开启 
        /// </summary>
        public bool IsEnable { get; set; }

        /// <summary>
        /// 是否本类默认 
        /// </summary>
        public bool IsDefault { get; set; }

        /// <summary>
        /// 应用类型 
        /// </summary>
        public string AppType { get; set; }
        public string ChannelAppId { get; set; }
        public string Channel { get; set; }
        public string TermNo { get; set; }
    }
}